package com.blues.pattern.factory.func;


import com.blues.pattern.factory.HuoTui;
import com.blues.pattern.factory.abstrac.ChildrenHuoTuiFactory;
import com.blues.pattern.factory.abstrac.SimpleHuoTuiFactory;

/**
 * design_pattern
 * 类描述：
 *
 * @author spring·blueices
 * @create 2018-03-17 下午12:17
 **/
public class HuoTuiFactory extends AbstractFactory {

    @Override
    public HuoTui getChildrenHuoTui() {
        return new ChildrenHuoTuiFactory().getHuoTui();
    }

    @Override
    public HuoTui getSimpleHuoTui() {
        return new SimpleHuoTuiFactory().getHuoTui();
    }
}
